The Week View component > FWeekView.getMonthArray()

 

FWeekView.getMonthArray()

Availability

Flash Player 6.

Usage

myWeekView_wkv.getMonthArray ()

Parameters

None.

Returns

Returns an array that holds the names of the months of the year.

Description

Returns an array that holds the names of the months of the year.

Example

The week_getSelectedDate.fla example file contains an example of using this method.

The following code gets the month array from the component and traces out the fifth item within the array.

var months = myWeekView_wkv.getMonthArray( );
trace( months[4] ); //traces "May"

 

See also

FWeekView.getDayArray()

FWeekView.setDayArray()

FWeekView.setMonthArray()